/*
 * 作者：姚俊
 * 功能：删除老师
 * 日期：2015-07-10
 */
package admin.action.teacher;

import admin.service.member.TeacherService;
import teacher.bean.Teacher;

public class DeleteTeacherAction {
	
	private Teacher teacher;

	public Teacher getTeacher() {
		return teacher;
	}

	public void setTeacher(Teacher teacher) {
		this.teacher = teacher;
	}
	
	public String execute()
	{
		new TeacherService().DeleteTeacher(this.getTeacher());
		return "succ";
	}

}
